package com.wsj.security;

import org.acegisecurity.GrantedAuthority;

/**
 * The class <code>IUserDetails</code> extends the org.acegisecurity.userdetails.UserDetails interface, and provides additional userId, companyId information<br><br>
 * @author wade
 * @see UserDetails
 */
public interface IUserDetails extends org.acegisecurity.userdetails.UserDetails{

	public int getUserId();

	public void setUserId(int user_id);

	public int getCompanyId();

	public void setCompanyId(int company_id);
	
	public String getUsername();

	public void setUsername(String username);

	public GrantedAuthority[] getAuthorities();

	public void setAuthorities(GrantedAuthority[] authorities);
}
